package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(100)" json:"password"`
}

type Video struct {
	gorm.Model
	Name   string `gorm:"type:varchar(30)" json:"name"`
	Num    int    `gorm:"type:int(100)" json:"num"`
	Status string `gorm:"type:varchar(50)" json:"status"`
}
